import request from '@/utils/request'
import { SearchResponse } from '@/types/search'

// 根据title模糊查询项目
export async function searchProject(title: string) {
  const response = await request.get<SearchResponse>('/wx/user/search', { params: { title } })
  return response.data
}
